package com.coolshark.shop.mapper;

import com.coolshark.shop.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select id,username,password,nick from user where username=#{username}")
    User selectByUsername(String username);


}
